﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using CompositionPlugin.Primitives;

namespace CompositionPlugin
{
    public class UndeterminedImportedPluginEventArgs : EventArgs
    {
        public UndeterminedImportedPluginEventArgs(IEnumerable<ExportPartDefinition> exports, ImportedPluginContractMetadata metadata)
        {
            this.Exports = exports;
            this.Metadata = metadata;
            this.SelectedExports = exports;
        }

        public IEnumerable<ExportPartDefinition> Exports { get; private set; }

        public ImportedPluginContractMetadata Metadata { get; private set; }

        public IEnumerable<ExportPartDefinition> SelectedExports { get; set; }
    }
}
